﻿<UserControl xmlns:View="clr-namespace:TfsBranchLib2.View"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Component="clr-namespace:WpfAdvControls.Component;assembly=WpfAdvControls"
             x:Class="TfsBranchLib2.View.BranchedHistoryInputControl"
             mc:Ignorable="d"
             d:DesignHeight="400" d:DesignWidth="400">
    <Grid>
        <Grid.Resources>
            <ResourceDictionary Source="pack://application:,,,/WpfAdvControls;component/Themes/DrawingResources.xaml" />
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <!-- Top Section (1): Start-Progress -->
        <DockPanel LastChildFill="True">
            <StackPanel Grid.Row="0" HorizontalAlignment="Left" Orientation="Horizontal">
                <Button Width="65" Height="23" Margin="3" Name="StartButton" VerticalContentAlignment="Center">
                    <StackPanel Orientation="Horizontal">
                        <Path Style="{StaticResource RunArrow}" Height="9.75" Stretch="Fill" Width="9" Margin="3" />
                        <TextBlock Text="Start" VerticalAlignment="Center" />
                    </StackPanel>
                </Button>
                <Button Width="65" Height="23" Margin="3" IsEnabled="False" Name="CancelButton">
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="Cancel" />
                    </StackPanel>
                </Button>
            </StackPanel>
            <Component:MinComponentBar VerticalAlignment="Top" Name="settingsBar" DockPanel.Dock="Right" />
            <ProgressBar x:Name="progressBar" Grid.Row="0" Height="18" Margin="3,6" />
        </DockPanel>
        <!-- Second Section ItemsFilter or Item -->
        <View:SourceControlPathsBox x:Name="sourceControlPathsBox" Grid.Row="1" Loaded="sourceControlPathsBox_Loaded" />
        <!-- Third Section BranchList -->
        <View:BranchListBox x:Name="branchListBox" Grid.Row="2" />
    </Grid>
</UserControl>